﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FE1 RID: 4065
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournClearArchiveNameScNotify : IMessage<RogueTournClearArchiveNameScNotify>, IMessage, IEquatable<RogueTournClearArchiveNameScNotify>, IDeepCloneable<RogueTournClearArchiveNameScNotify>, IBufferMessage
	{
		// Token: 0x17003366 RID: 13158
		// (get) Token: 0x0600B5BE RID: 46526 RVA: 0x001EA5D9 File Offset: 0x001E87D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournClearArchiveNameScNotify> Parser
		{
			get
			{
				return RogueTournClearArchiveNameScNotify._parser;
			}
		}

		// Token: 0x17003367 RID: 13159
		// (get) Token: 0x0600B5BF RID: 46527 RVA: 0x001EA5E0 File Offset: 0x001E87E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournClearArchiveNameScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003368 RID: 13160
		// (get) Token: 0x0600B5C0 RID: 46528 RVA: 0x001EA5F2 File Offset: 0x001E87F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournClearArchiveNameScNotify.Descriptor;
			}
		}

		// Token: 0x0600B5C1 RID: 46529 RVA: 0x001EA5F9 File Offset: 0x001E87F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournClearArchiveNameScNotify()
		{
		}

		// Token: 0x0600B5C2 RID: 46530 RVA: 0x001EA601 File Offset: 0x001E8801
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournClearArchiveNameScNotify(RogueTournClearArchiveNameScNotify other) : this()
		{
			this.maxTimes_ = other.maxTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B5C3 RID: 46531 RVA: 0x001EA626 File Offset: 0x001E8826
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournClearArchiveNameScNotify Clone()
		{
			return new RogueTournClearArchiveNameScNotify(this);
		}

		// Token: 0x17003369 RID: 13161
		// (get) Token: 0x0600B5C4 RID: 46532 RVA: 0x001EA62E File Offset: 0x001E882E
		// (set) Token: 0x0600B5C5 RID: 46533 RVA: 0x001EA636 File Offset: 0x001E8836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxTimes
		{
			get
			{
				return this.maxTimes_;
			}
			set
			{
				this.maxTimes_ = value;
			}
		}

		// Token: 0x0600B5C6 RID: 46534 RVA: 0x001EA63F File Offset: 0x001E883F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournClearArchiveNameScNotify);
		}

		// Token: 0x0600B5C7 RID: 46535 RVA: 0x001EA64D File Offset: 0x001E884D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournClearArchiveNameScNotify other)
		{
			return other != null && (other == this || (this.MaxTimes == other.MaxTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B5C8 RID: 46536 RVA: 0x001EA67C File Offset: 0x001E887C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MaxTimes != 0U)
			{
				num ^= this.MaxTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B5C9 RID: 46537 RVA: 0x001EA6BB File Offset: 0x001E88BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B5CA RID: 46538 RVA: 0x001EA6C3 File Offset: 0x001E88C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B5CB RID: 46539 RVA: 0x001EA6CC File Offset: 0x001E88CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MaxTimes != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B5CC RID: 46540 RVA: 0x001EA700 File Offset: 0x001E8900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MaxTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B5CD RID: 46541 RVA: 0x001EA73E File Offset: 0x001E893E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournClearArchiveNameScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MaxTimes != 0U)
			{
				this.MaxTimes = other.MaxTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B5CE RID: 46542 RVA: 0x001EA76F File Offset: 0x001E896F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B5CF RID: 46543 RVA: 0x001EA778 File Offset: 0x001E8978
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MaxTimes = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004977 RID: 18807
		private static readonly MessageParser<RogueTournClearArchiveNameScNotify> _parser = new MessageParser<RogueTournClearArchiveNameScNotify>(() => new RogueTournClearArchiveNameScNotify());

		// Token: 0x04004978 RID: 18808
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004979 RID: 18809
		public const int MaxTimesFieldNumber = 12;

		// Token: 0x0400497A RID: 18810
		private uint maxTimes_;
	}
}
